package com.credithc.signature.job.configure.props;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @desc: <br/>
 * @author: Jingbo Hu<br/>
 * @time：2021年07⽉06⽇<br/>
 * @version：v1.0.0<br>
 */
@Component
public class SignatureProps {

    @Value("${signature.cfca.sealUrl:empty}")
    public String sealUrl;

    @Value("${signature.fileServer.http.downloadUrl}")
    public String downloadUrl;

    @Value("${signature.snapNoSignPdf.path}")
    public String snapNoSignPdf;

    @Value("${signature.snapSignPdf.path}")
    public String snapSignPdf;

    @Value("${signature.signatureTryTimes:3}")
    public Integer signatureTryTimes;

    @Value("${signature.uploadTryTimes:3}")
    public Integer uploadTryTimes;

    @Value("${signature.callback.delayExchangeName:callback_delay_exchange}")
    public String delayExchangeName;

    @Value("${signature.callback.delayRoutingKey:callback_delay_exchange}")
    public String delayRoutingKey;

}
